{extend name="$member_style_layout" /}

{block name="title"}短消息{/block}
{block name="content"}
{include file="msg/menu" /}
<div class="MainCont mtop10">
	<div class="head"><div class="tag">发短消息</div></div>
    <div class="cont">
    	<form name="form1" method="post" action="">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="FormTable">
          <tr>
            <td class="tdL">接收者:</td>
            <td class="tdR"><input type="text" value="{$username}" name="touser" id="touser"> <select name="select" onchange="document.getElementById('touser').value=this.options[this.selectedIndex].value">
<option value="">快速选择常用联系人</option>
{volist name="linkman" id="touid"}
{if $touid!=$userdb.uid}<option value="{$touid|get_user_name}">{$touid|get_user_name}</option>{/if}
{/volist}
</select></td>
          </tr>
          <tr>
            <td class="tdL">标题:</td>
            <td class="tdR"><input type="text" placeholder="可以留空" name="title" size="70"></td>
          </tr>
          <tr>
            <td class="tdL">内容:</td>
            <td class="tdR"> 
<textarea name="content" id="myEditor" style="width:650px;height:300px;"></textarea>
            </td>
          </tr>
          <tr>
            <td class="tdL"><br/></td>
            <td class="tdR">
            	<input type="submit" name="Submit" value="提交">
            </td>
          </tr>
         </table>
         </form>
    </div>
</div>
<div style="height:300px;"></div>



{/block}